<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="StyleSheet" href="dtree.css" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/dtree.js"></script>
</head>
<body>
 <div>
     <script type="text/javascript">
      var dtree = new dTree('dtree');
      dtree.add(0,-1,"导航");
      
      dtree.add(1,0,"学生管理");
      dtree.add(2,1,"学生信息","<%=request.getContextPath()%>/admin/student.jsp?time=<%=(new Date()).getTime()%>","","content");
      
      dtree.add(4,0,"教师管理");
      dtree.add(5,4,"教师信息","<%=request.getContextPath()%>/admin/teacher.jsp?time=<%=(new Date()).getTime()%>","","content");
     
      dtree.add(7,0,'课程管理');
      dtree.add(8,7,'课程信息','<%=request.getContextPath()%>/admin/coursesInfo.jsp?time=<%=(new Date()).getTime()%>',"","content");
      
      dtree.add(13,0,'班级管理');
      dtree.add(14,13,'班级信息','<%=request.getContextPath()%>/admin/classes.jsp?time=<%=(new Date()).getTime()%>',"","content");
      
      dtree.add(20,0,'选课管理');
      dtree.add(21,20,'选课信息','<%=request.getContextPath()%>/admin/queryCurricula.jsp?time=<%=(new Date()).getTime()%>',"","content");
      
      dtree.add(30,0,'系统操作');
      //dtree.add(31,30,'系统备份','<%=request.getContextPath()%>/admin/backup.jsp?time=<%=(new Date()).getTime()%>',"","content");
      dtree.add(31,30,'修改密码','<%=request.getContextPath()%>/admin/changePassword.jsp?time=<%=(new Date()).getTime()%>',"","content");
      dtree.add(32,30,'管理员信息','<%=request.getContextPath()%>/admin/admin.jsp?time=<%=(new Date()).getTime()%>',"","content");
      dtree.add(33,30,'登出','<%=request.getContextPath()%>/logOut.jsp?time=<%=(new Date()).getTime()%>',"","_top");
      document.write(dtree);
     </script>
    </div>  
</body>
</html>